﻿package mortal.game.view.copy.groupCopy.item
{
    import mortal.component.gconst.*;
    import mortal.game.cache.*;

    public class GroupDefenseCopyCell extends GroupCopyMapBaseCell
    {

        public function GroupDefenseCopyCell()
        {
            return;
        }// end function

        override public function set data(param1:Object) : void
        {
            var _loc_2:* = Cache.instance.role.entityInfo.level;
            _tcopy = param1.tCopy;
            _mapIcon.bitmapData = null;
            _mapIcon.imgUrl = "defenseGroupIcon_" + _tcopy.enterMinLevel + ".png";
            if (_tcopy.enterMinLevel != 120)
            {
                _title.imgUrl = "defenseGroupName_" + _tcopy.enterMinLevel + ".png";
            }
            if (_tcopy.enterMinLevel <= _loc_2 && _loc_2 <= _tcopy.enterMaxLevel)
            {
                this.filters = [];
            }
            else
            {
                this.filters = [FilterConst.colorFilter2];
            }
            return;
        }// end function

    }
}
